<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<link rel="stylesheet" href="css/form.css" />
</head>

<body>
	<div id="header-wrap" data-mn=0>
		<a href="###" data-link="safe" data-type="ico" class="left ico-m ico-left"></a>
		<h2>绑定邮箱</h2>
	</div>
	<div class="" id="">
		<div class="tips">
			<div class="t-info">我们将向您的邮箱发送验证邮件</div>
			<div class="t-error"></div>
		</div>
		<form>
		<ul class="form-list">
			<li class="ico-m ico-pl ico-mail" data-type="ico">
				<div class="fl-cont form-input">
					<input type="mail" id="mail_input" placeholder="请输入邮箱" />
				</div>
			</li>
		</ul>
		<div class="">
			<a href="###" data-link="edit-mail-2" class="btn b-red"><span id="check">发送验证邮件</span></a>
		</div>
		</form>
		<div class="feed-info">
			<h2>如有疑问，请咨询...</h2>
			客服电话：400-105-8851<br />
			微信客服：wuyifugui(公众号)
		</div>
	</div>
	<script>
	$(function(){
		$("#check").on("click",function(){
			var mail_return = $("#mail_input").check({type:2});
			var mail = $("#mail_input").val();
			if(mail_return == 0){
				$(".t-error").text("请输入有效电子邮件地址").fadeIn(100)
				$(".t-info").hide()
				reset_tip()
				return false
			}else{
				$.cookie("mail_temp",mail)
			}
		})
	})
	</script>	
</body>

</html>
